/**
 * 
 */
package site.entity;

import neoutil.CommonEntity;

/**
 * @author Neo
 * 
 */
public class Category extends CommonEntity {
	/**
	 * 机构设置
	 */
	public static final int JGSZ = 1;
	/**
	 * 工作职责
	 */
	public static final int GZZZ = 2;
	/**
	 * 团委人员
	 */
	public static final int TWRY = 3;
	/**
	 * 团学快讯
	 */
	public static final int TXKX = 4;
	/**
	 * 团内新闻
	 */
	public static final int TNXW = 5;
	/**
	 * 院系新闻
	 */
	public static final int YXXW = 6;
	/**
	 * 通知公告
	 */
	public static final int TZGG = 7;
	/**
	 * 团学视频
	 */
	public static final int TXSP = 8;
	/**
	 * 图片新闻
	 */
	public static final int TPXW = 9;
	/**
	 * 校团发
	 */
	public static final int XTF = 10;
	/**
	 * 院团发
	 */
	public static final int YTF = 11;
	/**
	 * 团委机关
	 */
	public static final int TWJG = 12;
	/**
	 * 基层团委
	 */
	public static final int JCTW = 13;
	/**
	 * 学生组织
	 */
	public static final int XSZZ = 14;
	/**
	 * 缤纷社团
	 */
	public static final int BFST = 15;
	/**
	 * 下载专区
	 */
	public static final int XZZQ = 16;
	/**
	 * 常用审批
	 */
	public static final int CYSP = 17;
	/**
	 * 手机报
	 */
	public static final int SJB = 18;

	public static final int TYPE_BUILT_IN = 1;
	public static final int TYPE_USER_ADDED = 2;
	public static final int TYPE_TOPIC = 3;

	public static final int LEVEL_TOP = 1;
	private int cid;
	private String name;
	private int parentCid;
	private int level = LEVEL_TOP;
	private int type = TYPE_USER_ADDED;

	public Category() {
		super();
	}

	public Category(int cid, String name) {
		super();
		this.cid = cid;
		this.name = name;
		this.parentCid = cid;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getLevel() {
		return level;
	}

	public void setLevel(int level) {
		this.level = level;
	}

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}

	public int getCid() {
		return cid;
	}

	public void setCid(int cid) {
		this.cid = cid;
	}

	public int getParentCid() {
		return parentCid;
	}

	public void setParentCid(int parentCid) {
		this.parentCid = parentCid;
	}

}
